Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(localenv): C9 MASE fail to start #2784

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Conversation

BlairCurrey
Copy link
Contributor

Changes proposed in this pull request

  • adds default env var, fixing local env failing to start properly

Context

im seeing the c9 MASE fail to start in the local environment since commit d5c7860

cloud-nine-mock-ase-1  | setting up from seed...
cloud-nine-mock-ase-1  | seeding failed with ApolloError: request to http://cloud-nine-wallet-backend:3001/graphql failed, reason: connect ECONNREFUSED 10.5.0.8:3001. If seeding has already completed this can probably be ignored

Looks like its from no longer having a default value for the ILP_CONNECTOR_ADDRESS in backend - setting a default in the docker compose fixes it.

Checklist

  • Related issues linked using fixes #number
  • Tests added/updated
  • Documentation added
  • Make sure that all checks pass
  • Bruno collection updated

Copy link

netlify bot commented Jun 25, 2024

Deploy Preview for brilliant-pasca-3e80ec canceled.

Name Link
🔨 Latest commit 7f3d0a8
🔍 Latest deploy log https://app.netlify.com/sites/brilliant-pasca-3e80ec/deploys/667afa410144d00008dc066c

@@ -72,7 +72,7 @@ services:
EXCHANGE_RATES_URL: http://cloud-nine-wallet/rates
REDIS_URL: redis://shared-redis:6379/0
WALLET_ADDRESS_URL: ${CLOUD_NINE_WALLET_ADDRESS_URL:-https://cloud-nine-wallet-backend/.well-known/pay}
ILP_CONNECTOR_URL: ${CLOUD_NINE_CONNECTOR_URL}
ILP_CONNECTOR_URL: ${CLOUD_NINE_CONNECTOR_URL:-http://127.0.0.1:3002}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ILP_CONNECTOR_URL: ${CLOUD_NINE_CONNECTOR_URL:-http://127.0.0.1:3002}
ILP_CONNECTOR_URL: ${CLOUD_NINE_CONNECTOR_URL:-http://cloud-nine-wallet-backend:3002}

Same goes for happy life bank docker compose file, we should use http://happy-life-bank-backend:3002 there.
ILP_CONNECTOR_URL is the one that gets communicated during auto-peering (its basically the URL the fellow peer needs to save in their DB to know where to send packets)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there were a few more places to make that change as well. updated here 7f3d0a8

@github-actions github-actions bot added the type: tests Testing related label Jun 25, 2024
@mkurapov mkurapov merged commit a8096ab into main Jun 26, 2024
42 checks passed
@mkurapov mkurapov deleted the bc/docker-compose-env-fix branch June 26, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: tests Testing related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants